<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>论坛</title>
    <meta name="author" content="Zookr Team">
    <meta name="copyright" content="2001-2012 Zookr Inc.">
    <meta name="MSSmartTagsPreventParsing" content="True">
    <meta http-equiv="MSThemeCompatible" content="Yes">
    <link rel="stylesheet" type="text/css"
          href="/static/css/style_21_common.css">
    <link rel="stylesheet" type="text/css"
          href="/static/css/style_21_forum_index.css">
    <link id="css_forum_moderator" type="text/css" rel="stylesheet"
          href="/static/css/style_21_forum_moderator.css">
    {% block css %}
    {% endblock %}
</head>

<body id="nv_forum" class="pg_index fid_bbshome">
{% block athor %}
{% endblock %}

<div class="fxk_discuz_hd">
    <!-- BIG Start -->
    <div class="header clearfix">
        <!-- 导航 Start -->
        <div class="nav">
            <div class="wrap clearfix">
                {#                {% block user %}#}
                {#                {% endblock %}#}
            </div>
        </div>
        <!-- 导航 END -->
        <div class="header-content">
            <div class="wrap">
                <!-- LOGO Start -->
                <div class="logo">
                    <a href="/" title="煮机论坛"> <img
                            src="/static/images/logo_bbs.png" alt="煮机网"
                            border="0"> </a>
                </div>                        <!-- LOGO End -->

                <!-- 搜索 Start -->
                <div class="search" id="scarch_bar">
                    <form id="scarch_bar_form" method="get" autocomplete="off"
                          onSubmit="searchFocus($(&#39;scarch_bar_txt&#39;))"
                          action="{% url 'search' %}">
                        <div class="input">
                            <table width="100%" cellpadding="0" cellspacing="0"
                                   border="0">
                                <tbody>
                                <tr>
                                    <td>

                                        <input id="scarch_bar_txt"
                                               name="srchtxt" type="text"
                                               dir="ltr" size="35"
                                               spellcheck="false" value=""
                                               autocomplete="off"
                                               x-webkit-speech="" speech=""
                                               class=" xg1"
                                               placeholder="请输入搜索内容">
                                    </td>
                                    <td width="40" align="right">
                                        <a href="javascript:;"
                                           id="scarch_bar_type"
                                           class="showmenu xg1 xs2"
                                           onClick="showMenu(this.id)"
                                           hidefocus="true">帖子</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>

                        </div>
                        <button type="submit" name="searchsubmit"
                                id="searchsubmit" sc="1" class="button"
                                value="true"><strong class="xi2 xs2">搜索</strong>
                        </button>

                    </form>
                </div>
                <div id="user_login_register" class="user_login_register">
                    {% block user %}
                        {% if not user.is_authenticated %}
                            <a href="{% url 'user_login' %}"
                               hidefocus="true"
                               title="登陆">登陆</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                            <a href="{% url 'user_register' %}"
                               hidefocus="true" title="注册">注册</a>
                        {% else %}
                            <a href="{% url 'show_notice' %}"
                               hidefocus="true" title="消息">
                                {{ user.username }}(
                                {% if message_number %}
                                    {{ message_number }}{% else %}
                                    0{% endif %})
                            </a>
                            <a href="{% url 'user_logout' %}"
                               hidefocus="true"
                               title="注销">注销</a>

                        {% endif %}
                    {% endblock %}
                </div>
                <script type="text/javascript">
                    //initSearchmenu('scarch_bar', '');
                </script>
                <!-- 搜索 End -->


                <!-- 用户账户 End -->
            </div>
        </div>

        <!-- 子导航 Start -->
        <div class="subnav">
            <div class="wrap">
                <!-- text menu start -->
                <div class="bo_nav clearfix" id="category">
                    {% block nav %}
                    {% endblock %}


                    <!-- Fast Invitation start -->
                    <ul>
                        <li class="fast-tool"><a href="{% url 'post_create' %}">发帖</a>
                        </li>
                    </ul>
                    <!-- End -->

                </div>
                <!-- End -->
            </div>
        </div>                <!-- 子导航 End -->

    </div>
    <div class="main clearfix">
        <!-- zoopda navigation start -->
        <!-- End -->
        {% block content %}
        {% endblock %}
    </div>
    <div class="footer clearfix">
        <div class="wrap">
            <div class="nav">
                <!-- footer navigation start -->
                <a href="">手机版</a><span class="pipe">|</span><a
                    href="">Archiver</a><span class="pipe">|</span><a href="">合作伙伴</a><span
                    class="pipe">|</span><a href="">@小鱼论坛</a><span class="pipe">|</span><a
                    href="">@社区</a><span class="pipe">|</span><!-- End -->
                &nbsp;&nbsp;<a href="" title="腾讯分析" target="_blank">腾讯分析</a>
            </div>
            <div class="copyright">
                © 2001-2013 <strong><a href="" target="_blank">IOT510</a></strong>
                <br>Powered by <a href="" target="_blank">pushiqiang</a>
                ( <a href="" target="_blank">ICP备10241590号-3 | B2-20110072</a> )
                <span id="debuginfo"></span>
            </div>
        </div>
    </div>
    <!-- BIG End -->
{#    <div id="scrolltop" onClick="window.scrollTo(&#39;0&#39;,&#39;0&#39;)"#}
{#         style="left: auto; right: 0px; visibility: hidden;">回顶部#}
{#    </div>#}
</div>
</body>
</html>
